﻿<UserControl x:Name="userControl"
    x:Class="WP5DMAPP.PolarScence.PolarScenceSettingButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WP5DMAPP.PolarScence"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="80"
    d:DesignWidth="80" Loaded="UserControl_Loaded" PointerPressed="UserControl_PointerPressed" PointerReleased="UserControl_PointerReleased" PointerEntered="UserControl_PointerEntered" PointerExited="UserControl_PointerExited" Tapped="UserControl_Tapped">
	<UserControl.Resources>
		<Color x:Key="White">White</Color>
	</UserControl.Resources>

	<Grid>
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="CommonStates">
				<VisualStateGroup.Transitions>
					<VisualTransition GeneratedDuration="0:0:0.3">
						<VisualTransition.GeneratedEasingFunction>
							<CubicEase EasingMode="EaseInOut"/>
						</VisualTransition.GeneratedEasingFunction>
					</VisualTransition>
				</VisualStateGroup.Transitions>
				<VisualState x:Name="Normal"/>
				<VisualState x:Name="NormalPressed"/>
				<VisualState x:Name="NormalPointOver"/>
				<VisualState x:Name="Selected"/>
				<VisualState x:Name="SelectedPressed"/>
				<VisualState x:Name="SelectedPointOver"/>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
		<Grid.RowDefinitions>
			<RowDefinition Height="80"/>
		</Grid.RowDefinitions>
		<Rectangle x:Name="BackGround" Margin="5" RadiusX="4" RadiusY="4" d:LayoutOverrides="LeftMargin, RightMargin, TopMargin, BottomMargin" Fill="{Binding Background, ElementName=userControl}" Stroke="{Binding BorderBrush, ElementName=userControl}"/>
		<TextBlock x:Name="IconTextBlock" Margin="0" TextWrapping="Wrap" FontSize="45.333" FontFamily="ms-appx:/Resources/FontAwesome.otf#FontAwesome" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="{Binding Foreground, ElementName=userControl}"/>

	</Grid>
</UserControl>
